package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Ye QS
 * @version 0.1
 * @className Category
 * @description
 * @date 2024/10/7 17:24
 * @since jdk11
 */
@ApiModel("产品分类")
@Data
public class Category {
    int id;
    String name;
    int categoryCode;
    int parentId;

    String fields;

    @ApiModelProperty(hidden = true)
    List<Category> children;
}